<template>
  <div class="login-container">
    <img class="login-top" src="@/assets/images/logo-wl.png" alt="login" />

    <div class="login-box">
      <div class="title">登录</div>
      <LoginForm />
      <div class="bottom">
        <div v-for="(item, index) in typeList" :key="index" :class="loginType === item.value ? 'active item' : 'item'">
          {{ item.label }}
        </div>
      </div>
      <p class="tips">统一认证模块迭代升级中，暂不支持钉钉扫码登入</p>
    </div>
  </div>
</template>

<script setup lang="ts" name="login">
import { ref } from "vue";
import LoginForm from "./components/LoginForm.vue";
const loginType = ref("1");
const typeList = [
  {
    label: "账号登录",
    value: "1"
  }
  // {
  //   label: "手机号登陆",
  //   value: "2"
  // },
  // {
  //   label: "微信登录",
  //   value: "3"
  // },
  // {
  //   label: "钉钉登录",
  //   value: "4"
  // }
];
</script>

<style scoped lang="scss">
@import "./index";
</style>

<style lang="scss">
.login-container {
  .el-button {
    width: 100%;
    height: 52px;
  }
  .el-input {
    height: 50px;
  }
  .el-input__wrapper {
    background-color: #dee6f8 !important;
  }
}
</style>
